//
//  PaperAnswerScrollView.h
//  ZYOnlineSchool
//
//  Created by 毕武侠 on 2017/3/10.
//  Copyright © 2017年 bwx. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PaperAnswerModel.h"

typedef void(^SelectBlock)(NSUInteger index);

typedef void(^ContentBlock)(NSString *content);


@interface PaperAnswerScrollView : UIScrollView

@property (nonatomic, strong) SelectBlock selectBlock;

@property (nonatomic, copy) ContentBlock contentBlock;


// 初始化
- (void)setupConfigure;
// 更新页面
- (void)refreshView;

- (void)bindModel:(PaperBaseModel *)model;

- (void)setOptionIndex:(NSUInteger)index withType:(PaperOptionType)type;


- (void)setAnswerContent:(NSString *)content;

@end
